Tian haili @ csdn
2012-06-30
The wap push Service is carried on the SMS service, that is, the wap push data is encapsulated in the userdata of the sms pdu. This article analyzes the WSP and wbxml codes of wap push in userdata of PDU.
This
wap binary xml defines the XML fragment to express the synchronization server address, remote database name, login account, and so on one, two access methods: The current Kxml supports two WAP formats: WBXML/WML. There are two ways to parse wbxml:1.
WSP Content Type
The Content type codes is numeric identifiers for a media type. The numbering space is divided into three sections:0x00 to 0xff-well-known values and named in the WSP specification. 0x100 to 0xffff-registered values, listed below.
The Code is as follows:
Type wappushpdustructSmsclen as stringSmsctype as stringSMSC as stringProtocol as stringTpmrbase as stringRephonenumlen as stringRephonenumtype as stringRephonenum as stringTppid as stringTpdsc as stringTpvp as stringMsglen
SMS format for sending OTA bookmarks
First, you need to write a bookmark XML file, which can be downloaded from the Nokia website. The following is an example:
Try to make the name and URL short points. After encoding, you can put them in a short
At present, mobile computing and communication devices are popular mostly because they have some convenient functions. For example, they can send information to other users as needed, you can use your handheld devices to access and execute
Provides various official and user-released code examples and code reference. You are welcome to exchange and learn.
/*** Obtain the mime type based on the file suffix* @ Param string $ ext file suffix* @ Return string mime type*/Function
Summary of the phpheaderContent-Type. in many cases, the Content-Type is used.
The code is as follows:
$ Mimetypes = array ('EZ '=> 'application/andrew-inset ','Hqx' => 'application/mac-binhex40 ','Cpt' => 'application/mac-compactpro ','Doc' =>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.